package cn.besbing.model.entities.primary;

import cn.besbing.model.mapper.primary.NcBasprodStructMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrimaryNcBasprodStructServiceImpl implements NcBasprodStructMapper {


    @Autowired(required = false)
    NcBasprodStructMapper ncBasprodStructMapper;



    @Override
    public long countByExample(NcBasprodStructExample example) {
        return ncBasprodStructMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(NcBasprodStructExample example) {
        return ncBasprodStructMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String pkBasprodStruct) {
        return ncBasprodStructMapper.deleteByPrimaryKey(pkBasprodStruct);
    }

    @Override
    public int insert(NcBasprodStruct record) {
        return ncBasprodStructMapper.insert(record);
    }

    @Override
    public int insertSelective(NcBasprodStruct record) {
        return ncBasprodStructMapper.insertSelective(record);
    }

    @Override
    public List<NcBasprodStruct> selectByExample(NcBasprodStructExample example) {
        return ncBasprodStructMapper.selectByExample(example);
    }

    @Override
    public NcBasprodStruct selectByPrimaryKey(String pkBasprodStruct) {
        return ncBasprodStructMapper.selectByPrimaryKey(pkBasprodStruct);
    }

    @Override
    public int updateByExampleSelective(NcBasprodStruct record, NcBasprodStructExample example) {
        return ncBasprodStructMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(NcBasprodStruct record, NcBasprodStructExample example) {
        return ncBasprodStructMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(NcBasprodStruct record) {
        return ncBasprodStructMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(NcBasprodStruct record) {
        return ncBasprodStructMapper.updateByPrimaryKey(record);
    }
}
